<template>
  <div class="mt-3 bg-white p-3">
    <div class="card-head d-flex">
      <i class="iconfont fs-md pr-2" :class="`icon-${icon}`"></i>
      <strong class="fs-xl">{{title}}</strong>
    </div>
    <slot></slot>
  </div>
</template>

<script>
export default {
  props: {
    icon: { type: String, required: true },
    title: { type: String, required: true }
  },
  data () {
    return {}
  },
  methods: {}
}
</script>

<style>
</style>
